package com.cuckoo.mall.thus.order.orderlist.paidorder;

import com.bgn.baseframe.base.BasePresenter;
import com.bgn.baseframe.base.BaseView;
import com.cuckoo.mall.javabean.Order;

import java.util.List;

/** * 作者：wl on 2018/4/ * 邮箱：wanglun@stosz.com */

public class PaidyorderContract {
    interface View extends BaseView {
        void whenGetOrderList(int type, List<Order> data);

        void deleteSucceed(int position);
    }

    interface Presenter extends BasePresenter<View> {
        void loadOrderList(int loadType, String is_pay, int page_index, int page_count);

        void deleteOrder(int position, String order_num);
    }
}
